<html>
<script src="static/wasm_exec.js"></script>
<script>
	const go = new Go();
	WebAssembly.instantiateStreaming(fetch("static/main.wasm"), go.importObject)
		.then((result) => {
			go.run(result.instance)
		}).then(()=>{
			sum(100,200)
		});
</script>

<body style="margin: 0;">
    <!-- <input id="num" type="number" />
	<button id="btn">Click</button>
	<p id="ans">1</p> -->
	
</body>
<script>
	
	window.onload = function(){
  console.log('window.onload加载3');
}
	</script>
</html>